home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 10426 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  998 b 

  1. Path: cpsc.ucalgary.ca!usenet
  2. From: Rob Kremer <kremer@cpsc.ucalgary.ca>
  3. Newsgroups: comp.lang.c++
  4. Subject: Borland C++: exceptions aren't caught in dynamically loaded DLL (netscape plug-in)
  5. Date: Thu, 07 Mar 1996 17:26:58 -0700
  6. Organization: The University of Calgary
  7. Message-ID: <313F7ED2.5B17@cpsc.ucalgary.ca>
  8. NNTP-Posting-Host: vppc.cpsc.ucalgary.ca
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0 (Win95; I)
  13.  
  14. I've written a Netscape plug-in version of program that works without
  15. problem as a stand-alone.  Plug-ins are DLLs that are loaded by
  16. Netscape when required.  (Netscape is written in MS Visual C++, my
  17. app is written in Borland C++ v4.52.)  
  18.  
  19. Whenever an exception is thrown in the plug-in, the plug-in itself
  20. can't catch it.  It's as though the "try" and "catch" blocks weren't
  21. there at all.
  22.  
  23. Does anyone have an knowledge about this problem, or, better yet,
  24. a solution?  (Other than rewriting to avoid exceptions!)
  25.